package lab02.test10;

/**
 * Created by Lenovo on 2017/10/22.
 */
public class People {
    //属性：姓名、性别、年龄
    String name;
    String sex;
    int age;

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString(){
        return(name+" "+sex+" "+age);}
    //行为：跑、走
    void run(){}
    void walk(){}
    //构造函数：
    //main函数：
}
